package oicon;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.beans.PropertyVetoException;

import javax.swing.*;

import oracle.javatools.icons.OracleIcons;

public class MainOicon extends JPanel {
   private static final Dimension DESKTOP_SIZE = new Dimension(320, 700);
   private static final int COLS = 1;
   private static final int ROWS = 100;
   private static final int JIF_MAX = 4;
   private static final Dimension INTERNAL_FRAME_SIZE = new Dimension(300, 200);
   private CustomDesktopPane desktop = new CustomDesktopPane();
   private JPanel backgroundPanel = new JPanel();
   private JLabel label;
   private int x = 10 , y = 10;
   
   public MainOicon() {
      backgroundPanel.setSize(DESKTOP_SIZE);
      backgroundPanel.setLocation(0, 0);
      backgroundPanel.setBackground(Color.WHITE);
      int gap = 100;
      desktop.setSize(DESKTOP_SIZE);
      // backgroundPanel.setLayout(new GridLayout(ROWS, COLS, gap, gap));
      //backgroundPanel.setBorder(BorderFactory.createEmptyBorder(gap, gap, gap, gap));
     /* for (int i = 0; i < ROWS; i++) {
         for (int j = 0; j < COLS; j++) {
            String text = "[" + j + ", " + i + "]";
            JButton btn = new JButton(text);
            backgroundPanel.add(btn);
         }
      }*/
      /*for (int i = 0; i < JIF_MAX; i++) {
         JInternalFrame internalFrame = new JInternalFrame("Internal Frame " + i);
         internalFrame.setPreferredSize(INTERNAL_FRAME_SIZE);
         internalFrame.pack();
         int offset = 60;
         internalFrame.setLocation(offset + offset * i, offset + offset * i);
         desktop.add(internalFrame);
         internalFrame.setVisible(true);         
      }*/
      addIcon();
      
     
      desktop.setPreferredSize(DESKTOP_SIZE);
      //desktop.add(backgroundPanel, JLayeredPane.DEFAULT_LAYER);
      
      JScrollPane jj = new JScrollPane(desktop);
      jj.getVerticalScrollBar().setUnitIncrement(30);
      jj.getHorizontalScrollBar().setUnitIncrement(16);
      jj.setBorder(javax.swing.BorderFactory.createEtchedBorder()); 
      setLayout(new BorderLayout());
      add(jj, BorderLayout.CENTER);
   }

   private static void createAndShowUI() {
      JFrame frame = new JFrame("DesktopFoo");
      frame.getContentPane().add(new MainOicon());
      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      frame.pack();
      frame.setLocationRelativeTo(null);
      frame.setVisible(true);
      frame.validate();
      frame.repaint();
   }

   public static void main(String[] args) {
      java.awt.EventQueue.invokeLater(new Runnable() {
         public void run() {
            createAndShowUI();
         }
      });
   }
   
   /**get icon image from JAR*/
	private java.net.URL getIcon(String iName) {
		java.net.URL iconURL = ClassLoader.getSystemResource("oracle/javatools/icons/" + iName);
		return iconURL;
	}
    
	
	
	private void s(String i) {
	     y += 10;
		 label = new JLabel(i);
		 label.setIcon(new ImageIcon(getIcon(i)));
		 label.setLocation(x, y);
		 
		 JInternalFrame j = new JInternalFrame(i, true, true, true, true);
		 j.setFrameIcon(new javax.swing.ImageIcon(getIcon(i)));
		 j.setSize(new Dimension(300, 30));
		 desktop.repaint();
		 desktop.add(j);
	}
	
   public void addIcon() {

	   /*s(OracleIcons.ADD);
	   s(OracleIcons.CHECK);
	   s(OracleIcons.DELETE);
	   s(OracleIcons.COPY);
	   
	   s(OracleIcons.TOP);
	   s(OracleIcons.UP);
	   s(OracleIcons.DOWN);
	   s(OracleIcons.BOTTOM);
	
	   s(OracleIcons.FIRST);
	   s(OracleIcons.PREVIOUS);
	   s(OracleIcons.NEXT);
	   s(OracleIcons.LAST);
	   
	   s(OracleIcons.SHUTTLE_LEFT);
	   s(OracleIcons.SHUTTLE_LEFTALL);
	   s(OracleIcons.SHUTTLE_RIGHT);
	   s(OracleIcons.SHUTTLE_RIGHTALL);
	
	   s(OracleIcons.KEY);
	   s(OracleIcons.FOREIGNKEY);
	   s(OracleIcons.TO_REF);
	   
	   s(OracleIcons.UNI11);
	   s(OracleIcons.UNI1M);
	   s(OracleIcons.UNIM1);
	   s(OracleIcons.UNIMM);
	   
	   s(OracleIcons.BI11);
	   s(OracleIcons.BIM1);
	   s(OracleIcons.BIMM);
	   
	   s(OracleIcons.EXTRAS_THROBBER);
	   s(OracleIcons.EMPTY);
	   
	   s(OracleIcons.DBCONN);
	   */
	   
	   s(OracleIcons.ACCESSORATTRIBUTE);
	   s(OracleIcons.ACCESSORS);
	   s(OracleIcons.ACTION);
	   s(OracleIcons.ACTIONBINDING);
	   s(OracleIcons.ACTIVITY);
	   s(OracleIcons.ACTIVITYDIAGRAM);
	   s(OracleIcons.ACTIVITYFINALNODE);
	   s(OracleIcons.ACTIVITYINITIALNODE);
	   s(OracleIcons.ACTOR);
	   s(OracleIcons.ADD);
	   s(OracleIcons.ADDEXTERNALFAVORITE);
	   s(OracleIcons.ADDFAVORITES);
	   s(OracleIcons.ADF_DATA);
	   s(OracleIcons.ADF_STRUCTURE);
	   s(OracleIcons.ANNOTATION);
	   s(OracleIcons.APPLICATION);
	   s(OracleIcons.APPLICATIONMODULE);
	   s(OracleIcons.APPLICATIONMODULEINSTANCE);
	   s(OracleIcons.APPLICATIONS);
	   s(OracleIcons.APPLICATIONSERVER_QUALIFIER);
	   s(OracleIcons.APPLICATIONSERVERCONN);
	   s(OracleIcons.APPNAVIGATOR_HEADER);
	   s(OracleIcons.APPS_CONN);
	   s(OracleIcons.APPTEMPLATE);
	   s(OracleIcons.ARCHIVEFILE);
	   s(OracleIcons.ASSIST);
	   s(OracleIcons.ASSOCIATION11D);
	   s(OracleIcons.ASSOCIATION1M);
	   s(OracleIcons.ASSOCIATION1MD);
	   s(OracleIcons.ASSOCIATION1MS);
	   s(OracleIcons.ASSOCIATIONMM);
	   s(OracleIcons.ATTRIBUTE);
	   s(OracleIcons.ATTRIBUTEGROUP);
	   s(OracleIcons.ATTRIBUTES);
	   s(OracleIcons.AUDIT);
	   s(OracleIcons.BC4JASSOCIATION);
	   s(OracleIcons.BCDIAGRAM);
	   s(OracleIcons.BEANATTRIBUTE);
	   s(OracleIcons.BI11);
	   s(OracleIcons.BIM1);
	   s(OracleIcons.BIMM);
	   s(OracleIcons.BINDINGCONTEXT);
	   s(OracleIcons.BLAFPLUS_DISCLOSURE_COLLAPSED);
	   s(OracleIcons.BLAFPLUS_DISCLOSURE_EXPANDED);
	   s(OracleIcons.BLAFPLUS_OVERFLOW_N);
	   s(OracleIcons.BLOCK_TINT);
	   s(OracleIcons.BMJ_LAYOUT_BTT);
	   s(OracleIcons.BMJ_LAYOUT_GRID);
	   s(OracleIcons.BMJ_LAYOUT_LTR);
	   s(OracleIcons.BMJ_LAYOUT_ROW);
	   s(OracleIcons.BMJ_LAYOUT_RTL);
	   s(OracleIcons.BMJ_LAYOUT_SYMM);
	   s(OracleIcons.BMJ_LAYOUT_TTB);
	   s(OracleIcons.BMJDRAWMESSAGE);
	   s(OracleIcons.BOOKMARK);
	   s(OracleIcons.BOTTOM);
	   s(OracleIcons.BRANCH);
	   s(OracleIcons.BULLIST);
	   s(OracleIcons.CATALOG);
	   s(OracleIcons.CHANGED);
	   s(OracleIcons.CHECK);
	   s(OracleIcons.CHILD_VIEW_PORT);
	   s(OracleIcons.CHOOSEDATE);
	   s(OracleIcons.CLASS);
	   s(OracleIcons.CLASS_DIAGRAM);
	   s(OracleIcons.CLEAR);
	   s(OracleIcons.CLEARHIGHLIGHT);
	   s(OracleIcons.COLLABORATION);
	   s(OracleIcons.COLLAPSEALL);
	   s(OracleIcons.COLLECTION);
	   s(OracleIcons.COLLECTIONATTRIBUTE);
	   s(OracleIcons.COLUMN);
	   s(OracleIcons.COMMENT);
	   s(OracleIcons.COMMIT);
	   s(OracleIcons.COMMUNICATE);
	   s(OracleIcons.COMPARE);
	   s(OracleIcons.COMPARE_PREVIOUS);
	   s(OracleIcons.COMPAREDOC_ENA);
	   s(OracleIcons.COMPONENT);
	   s(OracleIcons.CONSTRAINT);
	   s(OracleIcons.CONSTRAINTUSAGE);
	   s(OracleIcons.CONSTRUCTOR);
	   s(OracleIcons.CONTROLLER);
	   s(OracleIcons.COPY);
	   s(OracleIcons.CPUPROFILEAPP);
	   s(OracleIcons.CPUPROFILESERVER);
	   s(OracleIcons.CPUPROFILEWORKINGSET);
	   s(OracleIcons.CREATEMETADATA);
	   s(OracleIcons.CUECARD);
	   s(OracleIcons.CUECARDBRANCHESCLOSE);
	   s(OracleIcons.CUECARDBRANCHESOPEN);
	   s(OracleIcons.CUSTOMIZED);
	   s(OracleIcons.CUT);
	   s(OracleIcons.DATABASE);
	   s(OracleIcons.DATABASE_ERROR);
	   s(OracleIcons.DATABINDING);
	   s(OracleIcons.DBCONN);
	   s(OracleIcons.DBDIAGRAM);
	   s(OracleIcons.DEBUG);
	   s(OracleIcons.DEBUGAPPLICATION);
	   s(OracleIcons.DEBUGGER_ARRAY);
	   s(OracleIcons.DEBUGGER_BLOCKEDTHREAD);
	   s(OracleIcons.DEBUGGER_BREAKPOINTS);
	   s(OracleIcons.DEBUGGER_CLASSOBF);
	   s(OracleIcons.DEBUGGER_COMPLETEDTHREAD);
	   s(OracleIcons.DEBUGGER_CRT_TD);
	   s(OracleIcons.DEBUGGER_CSTEP);
	   s(OracleIcons.DEBUGGER_CURRENTTHREAD);
	   s(OracleIcons.DEBUGGER_DEB_LTNR);
	   s(OracleIcons.DEBUGGER_DISABLEDWATCHPOINT);
	   s(OracleIcons.DEBUGGER_ENABLEDWATCHPOINT);
	   s(OracleIcons.DEBUGGER_HEAP);
	   s(OracleIcons.DEBUGGER_MONITORS);
	   s(OracleIcons.DEBUGGER_NOTSTARTEDTHREAD);
	   s(OracleIcons.DEBUGGER_RESUME);
	   s(OracleIcons.DEBUGGER_RNTO_CRS);
	   s(OracleIcons.DEBUGGER_RNTO_END);
	   s(OracleIcons.DEBUGGER_RUNNABLETHREAD);
	   s(OracleIcons.DEBUGGER_SET_STAT);
	   s(OracleIcons.DEBUGGER_SHOW_IP);
	   s(OracleIcons.DEBUGGER_SMRTDATA);
	   s(OracleIcons.DEBUGGER_STACK);
	   s(OracleIcons.DEBUGGER_STATICFOLDER);
	   s(OracleIcons.DEBUGGER_STP_INTO);
	   s(OracleIcons.DEBUGGER_STP_INTOBC);
	   s(OracleIcons.DEBUGGER_STP_OUT);
	   s(OracleIcons.DEBUGGER_STP_OVR);
	   s(OracleIcons.DEBUGGER_STP_OVRBC);
	   s(OracleIcons.DEBUGGER_THREAD);
	   s(OracleIcons.DEBUGGER_THREADGROUP);
	   s(OracleIcons.DEBUGGER_THREADS);
	   s(OracleIcons.DEBUGGER_UIDEBUG);
	   s(OracleIcons.DEBUGGER_UNKNOWNTHREAD);
	   s(OracleIcons.DEBUGGER_WAITINGTHREAD);
	   s(OracleIcons.DEBUGSERVER);
	   s(OracleIcons.DEBUGWORKINGSET);
	   s(OracleIcons.DECLARATIVECOMPONENT);
	   s(OracleIcons.DEFAULT_ACTIVITY);
	   s(OracleIcons.DEFBINDINGICON);
	   s(OracleIcons.DELETE);
	   s(OracleIcons.DELETEAPPLICATION);
	   s(OracleIcons.DEPENDENCY);
	   s(OracleIcons.DETAIL);
	   s(OracleIcons.DIALOG);
	   s(OracleIcons.DIALOGWIZARD);
	   s(OracleIcons.DIRECT_LINK_STYLE);
	   s(OracleIcons.DIRECTORYTREEVIEW);
	   s(OracleIcons.DISABLEDBREAKPOINT);
	   s(OracleIcons.DOMAIN);
	   s(OracleIcons.DOWN);
	   s(OracleIcons.DUPLICATE);
	   s(OracleIcons.DYNAMICLINK);
	   s(OracleIcons.DYNAMICREGIONLINK);
	   s(OracleIcons.EDIT);
	   s(OracleIcons.EJBENTITY);
	   s(OracleIcons.EJBMESSAGE);
	   s(OracleIcons.EJBSESSION);
	   s(OracleIcons.ELEMENT);
	   s(OracleIcons.EMPTY);
	   s(OracleIcons.ENTITYOBJECT);
	   s(OracleIcons.ENTITYOBJECTINSTANCE);
	   s(OracleIcons.ENVELOPE);
	   s(OracleIcons.ERROR);
	   s(OracleIcons.EVENTS);
	   s(OracleIcons.EXCEPTION);
	   s(OracleIcons.EXPANDALL);
	   s(OracleIcons.EXPLAIN);
	   s(OracleIcons.EXPORT);
	   s(OracleIcons.EXPRESSION);
	   s(OracleIcons.EXTRAS_ACCORDION_OPEN);
	   s(OracleIcons.EXTRAS_AUTO_EXTEND);
	   s(OracleIcons.EXTRAS_CLOSE_DEFAULT);
	   s(OracleIcons.EXTRAS_CLOSE_DEFAULT_BLACK);
	   s(OracleIcons.EXTRAS_DOWN);
	   s(OracleIcons.EXTRAS_DROPDOWN);
	   s(OracleIcons.EXTRAS_DROPDOWN_GRAY);
	   s(OracleIcons.EXTRAS_DROPDOWN_SMALL);
	   s(OracleIcons.EXTRAS_EXTENSION);
	   s(OracleIcons.EXTRAS_GREEN);
	   s(OracleIcons.EXTRAS_HOOKHANDLER);
	   s(OracleIcons.EXTRAS_HOOKUSAGE);
	   s(OracleIcons.EXTRAS_LEFT);
	   s(OracleIcons.EXTRAS_MINIMIZE);
	   s(OracleIcons.EXTRAS_RESTORE);
	   s(OracleIcons.EXTRAS_RIGHT);
	   s(OracleIcons.EXTRAS_SMALL_CLOSE);
	   s(OracleIcons.EXTRAS_THROBBER);
	   s(OracleIcons.EXTRAS_UP);
	   s(OracleIcons.FACTORY);
	   s(OracleIcons.FAVORITES);
	   s(OracleIcons.FIELD);
	   s(OracleIcons.FILE);
	   s(OracleIcons.FILE_UPLOAD);
	   s(OracleIcons.FILECONN);
	   s(OracleIcons.FILESAVE);
	   s(OracleIcons.FILTER);
	   s(OracleIcons.FIND);
	   s(OracleIcons.FIRST);
	   s(OracleIcons.FIRST_CONFLICT);
	   s(OracleIcons.FIT_TO_WINDOW);
	   s(OracleIcons.FIX);
	   s(OracleIcons.FOLDER);
	   s(OracleIcons.FOLDERNEW);
	   s(OracleIcons.FONTSIZE);
	   s(OracleIcons.FOREIGNKEY);
	   s(OracleIcons.FORMPARAMETER);
	   s(OracleIcons.FORUM);
	   s(OracleIcons.FORWARD);
	   s(OracleIcons.FORWARDDIRECTION);
	   s(OracleIcons.FROM_DIRECT_DOM_REF);
	   s(OracleIcons.FROM_INDIRECT_DOM_REF);
	   s(OracleIcons.FROM_OUTCOME);
	   s(OracleIcons.FROM_REF);
	   s(OracleIcons.FUNCTION);
	   s(OracleIcons.GARBG);
	   s(OracleIcons.GARBGREPEAT);
	   s(OracleIcons.GENERALIZATION);
	   s(OracleIcons.GENERATE_ACCESSORS);
	   s(OracleIcons.GO_TO_BOOKMARK);
	   s(OracleIcons.GO_TO_NEXT_BOOKMARK);
	   s(OracleIcons.GO_TO_PREV_BOOKMARK);
	   s(OracleIcons.GRAPH);
	   s(OracleIcons.GREEN_DOT);
	   s(OracleIcons.GROUP);
	   s(OracleIcons.GROUPSHAPE);
	   s(OracleIcons.GUTTER_FIX);
	   s(OracleIcons.GUTTER_TASK);
	   s(OracleIcons.HEADER_ADDCOMMONCOMPONENTS_LG);
	   s(OracleIcons.HEADER_ANT);
	   s(OracleIcons.HEADER_APPLICATION);
	   s(OracleIcons.HEADER_APPLICATIONMODEL_LG);
	   s(OracleIcons.HEADER_CHECKLIST_HEADER);
	   s(OracleIcons.HEADER_CONNECTION);
	   s(OracleIcons.HEADER_CONNECTTOSERVER);
	   s(OracleIcons.HEADER_CREATEAPPLICATION);
	   s(OracleIcons.HEADER_DATABASE);
	   s(OracleIcons.HEADER_DBCONN_LG_QUALIFIER);
	   s(OracleIcons.HEADER_DEBUG_AND_TEST);
	   s(OracleIcons.HEADER_DEPLOYMENT);
	   s(OracleIcons.HEADER_DEPLOYPACKAGE);
	   s(OracleIcons.HEADER_DESIGNAPPLICATIONFLOW_LG);
	   s(OracleIcons.HEADER_DESIGNYOURPAGE);
	   s(OracleIcons.HEADER_DIAGRAM);
	   s(OracleIcons.HEADER_EDIT_STYLE);
	   s(OracleIcons.HEADER_FILECONN);
	   s(OracleIcons.HEADER_FOLDER_HEADER);
	   s(OracleIcons.HEADER_HOMEFOLDER);
	   s(OracleIcons.HEADER_HOSTCONNECTION_HEADER);
	   s(OracleIcons.HEADER_HTML);
	   s(OracleIcons.HEADER_IMPLEMENTBUSINESSLOGIC_LG);
	   s(OracleIcons.HEADER_INTERNATIONALIZEAPPLICTION_LG);
	   s(OracleIcons.HEADER_JAVA);
	   s(OracleIcons.HEADER_JDEVELOPER);
	   s(OracleIcons.HEADER_MAPPED_ROOTFOLDER);
	   s(OracleIcons.HEADER_MOBILE_CLIENT_PAGE);
	   s(OracleIcons.HEADER_MOBILE_CLIENT_TASK_FLOW);
	   s(OracleIcons.HEADER_OPENAPPLICATION);
	   s(OracleIcons.HEADER_PACKAGE_HEADER);
	   s(OracleIcons.HEADER_PERSON);
	   s(OracleIcons.HEADER_PLANYOURAPPLICATION_LG);
	   s(OracleIcons.HEADER_POSSIBLENEXTSTEP_LG);
	   s(OracleIcons.HEADER_PROJECT);
	   s(OracleIcons.HEADER_SECUREAPPLICTION_LG);
	   s(OracleIcons.HEADER_SIMPLEFILE);
	   s(OracleIcons.HEADER_STRUTS);
	   s(OracleIcons.HEADER_TASK_FLOW_DEFINITION);
	   s(OracleIcons.HEADER_TASK_FLOW_TEMPLATE);
	   s(OracleIcons.HEADER_TOPLINK);
	   s(OracleIcons.HEADER_WEBSERVICE);
	   s(OracleIcons.HEADER_WEBSERVICES);
	   s(OracleIcons.HEADER_XML);
	   s(OracleIcons.HELP);
	   s(OracleIcons.HIGHLIGHT);
	   s(OracleIcons.HISTORY);
	   s(OracleIcons.HOME);
	   s(OracleIcons.HOSTCONNECTION);
	   s(OracleIcons.HOSTSERVICECONN);
	   s(OracleIcons.HTML);
	   s(OracleIcons.IMAGE);
	   s(OracleIcons.IMPLEMENT_INTERFACE);
	   s(OracleIcons.IMPORT);
	   s(OracleIcons.INCLUDE);
	   s(OracleIcons.INCOMPLETESTATUS);
	   s(OracleIcons.INDEX);
	   s(OracleIcons.INFO);
	   s(OracleIcons.INTERFACE);
	   s(OracleIcons.INVOKEEXPRESSIONBUILDER);
	   s(OracleIcons.IP);
	   s(OracleIcons.ITERATOR);
	   s(OracleIcons.JAVA_DIAGRAM);
	   s(OracleIcons.JAVAFILE);
	   s(OracleIcons.JIGSAWGRAY);
	   s(OracleIcons.JOIN_OBJECT);
	   s(OracleIcons.JOINNODE);
	   s(OracleIcons.JSF_LIFECYCLE);
	   s(OracleIcons.JSFFRAGMENT);
	   s(OracleIcons.JSLIDER);
	   s(OracleIcons.JSP);
	   s(OracleIcons.JSPINNER);
	   s(OracleIcons.KEEPONTOP);
	   s(OracleIcons.KEY);
	   s(OracleIcons.LABEL);
	   s(OracleIcons.LAST);
	   s(OracleIcons.LAST_CONFLICT);
	   s(OracleIcons.LAYOUT);
	   s(OracleIcons.LEGEND);
	   s(OracleIcons.LIFELINE);
	   s(OracleIcons.LIGHTBULB);
	   s(OracleIcons.LINK);
	   s(OracleIcons.LISTBINDING);
	   s(OracleIcons.LISTENER);
	   s(OracleIcons.LISTLOCKICON);
	   s(OracleIcons.LISTVIEW);
	   s(OracleIcons.LOG);
	   s(OracleIcons.LOGANALYZER);
	   s(OracleIcons.LOGCONFIGURATION);
	   s(OracleIcons.LOGGER);
	   s(OracleIcons.LOGGERTRANSIENT);
	   s(OracleIcons.LOGHANDLER);
	   s(OracleIcons.LOGLOCATION_HEADER);
	   s(OracleIcons.LOGRELATEDMESSAGES);
	   s(OracleIcons.LOV);
	   s(OracleIcons.MAKE);
	   s(OracleIcons.MATERIALIZED_VIEW);
	   s(OracleIcons.MATERIALIZED_VIEW_LOG);
	   s(OracleIcons.MEMORYPROFILEAPP);
	   s(OracleIcons.MEMORYPROFILESERVER);
	   s(OracleIcons.MEMORYPROFILEWORKINGSET);
	   s(OracleIcons.MERGENODE);
	   s(OracleIcons.MESSAGEASYNC);
	   s(OracleIcons.MESSAGECREATE);
	   s(OracleIcons.MESSAGERETURN);
	   s(OracleIcons.MESSAGESTOP);
	   s(OracleIcons.METHOD);
	   s(OracleIcons.METHOD_RETURN);
	   s(OracleIcons.MOBILE_CLIENT_PAGE);
	   s(OracleIcons.MOBILE_CLIENT_TASK_FLOW);
	   s(OracleIcons.NAVCONNECTIONS);
	   s(OracleIcons.NAVIGATEBACK);
	   s(OracleIcons.NAVIGATEFORWARD);
	   s(OracleIcons.NAVIGATION);
	   s(OracleIcons.NAVIGATOR);
	   s(OracleIcons.NAVIGATORDISPLAYOPTIONS);
	   s(OracleIcons.NEW);
	   s(OracleIcons.NEWAPPLICATION);
	   s(OracleIcons.NEXT);
	   s(OracleIcons.NEXT_CONFLICT);
	   s(OracleIcons.NEXT_MESSAGE);
	   s(OracleIcons.NOACCESS);
	   s(OracleIcons.NODE_ROLE);
	   s(OracleIcons.NOTSTARTED);
	   s(OracleIcons.OBJECT);
	   s(OracleIcons.OBJECTTYPE);
	   s(OracleIcons.OPEN);
	   s(OracleIcons.OPENBOOK);
	   s(OracleIcons.OPERATIONS);
	   s(OracleIcons.ORACLE_LOGO);
	   s(OracleIcons.ORTHOGONAL_LINK_STYLE);
	   s(OracleIcons.OUTCOME);
	   s(OracleIcons.OUTLINE);
	   s(OracleIcons.OVERLAY_FILTER);
	   s(OracleIcons.OVERLAY_INVALID);
	   s(OracleIcons.OVERLAY_LOCKED);
	   s(OracleIcons.OVERRIDE_METHOD);
	   s(OracleIcons.PACKAGE);
	   s(OracleIcons.PACKAGETREEVIEW);
	   s(OracleIcons.PAGETEMPLATE);
	   
	   
	   
	   
	   
	   
	   
	   try {
		   desktop.getAllFrames()[0].setSelected(true);
	   } catch (PropertyVetoException e) { }
   }
}
